package com.xiaoshuidi.cloud.module.finance.api.finance;

import com.xiaoshuidi.cloud.framework.common.pojo.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 打款失败 RPC API
 */
@FeignClient(name = "lease-finance-server")
public interface FinancePaymentChangeLogApi {

    /**
     * 统计未完成的打款失败数量
     */
    @GetMapping("/rpc-api/finance/payment/no-change-log-count")
    CommonResult<Long> noChangeLogCount();
}
